package lab02.test14;

public class Test14 {
    public static void main(String[] args) {
        Circle circle=new Circle();
        circle.raduis=5.0;
        System.out.println("半径为5的圆的面积为："+circle.getArea());

        Rectangle rectangle=new Rectangle();
        rectangle.height=9.0;
        rectangle.width=6.0;
        System.out.println("长方形的面积为："+rectangle.getArea());
    }
}
